package com.yulebaby.callsenter.bean.multiplebean;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.yulebaby.callsenter.bean.CallLogBean;
import com.yulebaby.callsenter.bean.CustomerBean;

/**
 * Author: Zhangbo
 * Time: 2016/12/2
 * 条目分类的bean
 */
public class MultipleCustomerBean implements MultiItemEntity {
    public static final int TIME = 1;
    public static final int CUSTOMERITEM = 2;
    private int itemType;
    private String time;
    private CustomerBean mCustomerBean;
    private CallLogBean mCallLogBean;


    public MultipleCustomerBean(int itemType, String time, CustomerBean customerBean) {
        this.itemType = itemType;
        this.time = time;
        mCustomerBean = customerBean;
    }

    public MultipleCustomerBean(int itemType, CustomerBean customerBean) {
        this.itemType = itemType;
        mCustomerBean = customerBean;
    }

    public MultipleCustomerBean(int itemType, String time) {
        this.itemType = itemType;
        this.time = time;
    }
    public MultipleCustomerBean(CallLogBean CallLogBean) {
        this.mCallLogBean = CallLogBean;
    }


    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public CustomerBean getCustomerBean() {
        return mCustomerBean;
    }
    public CallLogBean getCallLogBean(){

        return mCallLogBean;
    }

    public void setCustomerBean(CustomerBean customerBean) {
        mCustomerBean = customerBean;
    }
    public void setCallLogBean(CallLogBean callLogBean) {
        mCallLogBean = callLogBean;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
}
